package com.example.springboot.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zf
 * @发送短信验证码记录表
 * @since 2021-03-17
 */
@Data
public class SmsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号OR邮箱
     */
    private String mobile;

    /**
     * 验证码
     */
    private String code;

    private Date createTime;

    private Date updateTime;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 逻辑删除
     */
    private Integer invalid;


}
